package com.inventory.service;

import java.util.List;

import com.inventory.exception.UserNotFoundException;
import com.inventory.persistence.User;

public interface UserService {
	int createUser(User user);

	int updateUser(User user);

	int deleteUser(User user);
	
	List<User> getAllUsers();
	
	User getUserByUsername(String userName) throws UserNotFoundException;
}
